package com.ruoyi.basicInfo.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 船舶信息对象 s_plm_rts_ship
 * 
 * @author zbw
 * @date 2022-07-16
 */
public class Ship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 船舶ID */
    private String shipId;

    /** 船舶编号 */
    @Excel(name = "船舶编号")
    private String shipCode;

    /** 船舶名称 */
    @Excel(name = "船舶名称")
    private String shipName;

    /** 船舶类型 */
    @Excel(name = "船舶类型")
    private Integer shipType;

    /** 最大装载量 */
    @Excel(name = "最大装载量")
    private BigDecimal maxCapacity;

    /** 停靠港口 */
    @Excel(name = "停靠港口")
    private String portId;

    /** 船舶描述 */
    private String shipDescription;

    public void setShipId(String shipId) 
    {
        this.shipId = shipId;
    }

    public String getShipId() 
    {
        return shipId;
    }
    public void setShipCode(String shipCode) 
    {
        this.shipCode = shipCode;
    }

    public String getShipCode() 
    {
        return shipCode;
    }
    public void setShipName(String shipName) 
    {
        this.shipName = shipName;
    }

    public String getShipName() 
    {
        return shipName;
    }
    public void setShipType(Integer shipType) 
    {
        this.shipType = shipType;
    }

    public Integer getShipType() 
    {
        return shipType;
    }
    public void setMaxCapacity(BigDecimal maxCapacity) 
    {
        this.maxCapacity = maxCapacity;
    }

    public BigDecimal getMaxCapacity() 
    {
        return maxCapacity;
    }
    public void setPortId(String portId) 
    {
        this.portId = portId;
    }

    public String getPortId() 
    {
        return portId;
    }
    public void setShipDescription(String shipDescription) 
    {
        this.shipDescription = shipDescription;
    }

    public String getShipDescription() 
    {
        return shipDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shipId", getShipId())
            .append("shipCode", getShipCode())
            .append("shipName", getShipName())
            .append("shipType", getShipType())
            .append("maxCapacity", getMaxCapacity())
            .append("portId", getPortId())
            .append("shipDescription", getShipDescription())
            .toString();
    }
}
